<#include "../../page.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th>流程ID</th>
        <th>部门</th>
        <th>姓名</th>
        <th>流程名称</th>
        <th>类型</th>
        <th>时长</th>
        <th>开始时间</th>
        <th>结束时间</th>
        <th>随行人员</th>
        <th>理由</th>
        <th>流程是否結束</th>
    </tr>
    </thead>
<tbody>
<#if oaLeavesTable.rows??>
<#list oaLeavesTable.rows as oaLeave>
    <tr>
   <td>${oaLeave.runId!''}</td>
        <td>${oaLeave.deptName!''}</td>
        <td>${oaLeave.userName!''}</td>
        <td>${oaLeave.spareB!''}</td>
        <td>${oaLeave.leaveType!''}</td>
        <td>${oaLeave.leaveH!''}</td>
            <td>${oaLeave.beginTime!''}</td>
            <td>${oaLeave.endTime!''}</td>
        <td>${oaLeave.spareC



        !''}</td>
    <td >
                <div class=ellipsis_div style="width:100px;" title="${oaLeave.leaveContent!''}">
                ${oaLeave.leaveContent!''}
                </div>
            </td>


        <td>
            <@display list=ynTypeList value="${oaLeave.spareA!''}"/>
        </td>
          </tr>
</#list>
</#if>
    </tbody>
</table>
<#if oaLeavesTable??>
<@page table=oaLeavesTable formId="search_oaLeave_table"/>
</#if>
<style>
    .ellipsis_div {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
</style>